Add some documentation to the colorchooser schema
authorMatthias Clasen <mclasen@redhat.com>
Tue, 13 May 2014 16:28:02 +0000 (12:28 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 13 May 2014 19:20:36 +0000 (15:20 -0400)
gtk/org.gtk.Settings.ColorChooser.gschema.xml

index 57120569fe5136d15eece56d196ec49f8aabba63..6270d33156fdb04754a5fb2e6e4ca4bd31f0caa1 100644 (file)
@@ -4,9 +4,22 @@
   <schema id='org.gtk.Settings.ColorChooser' path='/org/gtk/settings/color-chooser/'>
     <key name='custom-colors' type='a(dddd)'>
       <default>[]</default>
+      <summary>Custom colors</summary>
+      <description>
+        An array of custom colors to show in the color chooser. Each color is
+        specified as a tuple of four doubles, specifying RGBA values between
+        0 and 1.
+      </description>
     </key>
     <key name='selected-color' type='(bdddd)'>
       <default>(false,1.0,1.0,1.0,1.0)</default>
+      <summary>The selected color</summary>
+      <description>
+         The selected color, described as a tuple whose first member is a
+         boolean that is true if a color was selected, and the remaining
+         four members are four doubles, specifying RGBA values between
+         0 and 1.
+      </description>
     </key>
   </schema>